<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!-- 核心标签 -->
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<!-- 格式化标签,格式化并输出文本、日期、时间、数字 -->

<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>d2</title>
    <link rel="stylesheet" type="text/css" href="<%=path%>/staticResources/css/d2.css"/>
    <link rel="stylesheet" type="text/css" href="<%=path%>/staticResources/css/bootstrap.min.css">
    <script type="text/javascript" src="<%=path%>/staticResources/js/jquery-3.3.1.min.js"></script>
    <script type="text/javascript" src="<%=path%>/staticResources/js/bootstrap.min.js"></script>
</head>
<body>
<form name="form" method="post" enctype="multipart/form-data" action="<%=path%>/demo/d5">
    <label>
        <span>文件：</span>
        <input type="file" name="file">
    </label>
    <input type="submit" value="提交">
</form>
</body>
</html>